﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


public class QSet : IQEvaluable
{
    public IQEvaluable LHS { get; set; }
    public IQEvaluable RHS { get; set; }

    public QSet(string lhs, IQEvaluable rhs)
    {
        this.LHS =new QColumn( lhs);
        this.RHS= rhs;
    }
    public QSet(string lhs, Object rhs)
    {
        this.LHS = new QColumn(lhs);
        this.RHS = new QConstant(rhs);
    }

    public string Evalute()
    {
        return this.LHS.Evalute() + " = " + this.RHS.Evalute();
    }


    public string EvaluteWithAlias()
    {
        throw new NotImplementedException();
    }
}

